Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Infrastructure ECS cluster #22

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

Stretch96
Copy link
Member

  • This will conditionally launch an ECS cluster within the infrastructure VPC. The EC2 instances within the ECS cluster do not need to be public (An ALB will be the public endpoint), but they can optionally be configured to be publicly available.
  • A lifecycle hook has been added, which conditionally triggers a Lambda to ensure that all instances have drained their containers before terminating.
  • The ECS instance type, ami version and docker storage parameters are configurable.

ec2-userdata/ecs-instance.tpl Show resolved Hide resolved
ec2-userdata/ecs-instance.tpl Show resolved Hide resolved
ec2-userdata/ecs-instance.tpl Outdated Show resolved Hide resolved
ec2-userdata/ecs-instance.tpl Show resolved Hide resolved
ecs-cluster-infrastructure-draining-lambda.tf Outdated Show resolved Hide resolved
ecs-cluster-infrastructure.tf Outdated Show resolved Hide resolved
kms-infrastructure.tf Outdated Show resolved Hide resolved
@DrizzlyOwl

This comment was marked as resolved.

@Stretch96 Stretch96 force-pushed the create-infrastructure-ecs-cluster branch 2 times, most recently from 6cf135d to bb0387d Compare December 20, 2023 13:26
@Stretch96 Stretch96 force-pushed the create-infrastructure-ecs-cluster branch 7 times, most recently from 07d01f9 to 79442e9 Compare December 20, 2023 15:18
@Stretch96 Stretch96 force-pushed the create-infrastructure-ecs-cluster branch 4 times, most recently from fb3cf83 to 89a7185 Compare December 20, 2023 16:56
* This will conditionally launch an ECS cluster within the
  infrastructure VPC. The EC2 instances within the ECS cluster do not
  need to be public (An ALB will be the public endpoint), but they can
  optionally be configured to be publicly available.
* A lifecycle hook has been added, which conditionally triggers a Lambda
  to ensure that all instances have drained their containers before terminating.
* The ECS instance type, ami version and docker storage parameters are
  configurable.
@Stretch96 Stretch96 force-pushed the create-infrastructure-ecs-cluster branch from 89a7185 to 1fcc80a Compare December 20, 2023 17:03
@Stretch96 Stretch96 merged commit 4110eb0 into main Dec 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants